<f:if condition="{media}">
	<!-- fal media files -->
    <div class="news-img-wrap">
        <ul class="news-bxslider">
            <f:for each="{media}" as="mediaElement">
                <li class="outer">
                    <f:if condition="{mediaElement.originalResource.type} == 2">
                        <f:render partial="Detail/FalMediaImage" arguments="{mediaElement: mediaElement, settings:settings}"/>
                    </f:if>
                    <f:if condition="{mediaElement.originalResource.type} == 4">
                        <f:render partial="Detail/FalMediaVideo" arguments="{mediaElement: mediaElement, settings:settings}"/>
                    </f:if>
                    <f:if condition="{mediaElement.originalResource.type} == 5">
                        <f:render partial="Detail/FalMediaImage" arguments="{mediaElement: mediaElement, settings:settings}"/>
                    </f:if>
                </li>
            </f:for>
        </ul>
    </div>
</f:if>